Root = CS.GameLauncher.instance
AssetUtil = Root.assetUtil
TimerUtil = Root.timerUtil
AudioUtil = Root.audioUtil
PanelUtil = Root.panelUtil

-- 枚举
PanelTypeEnum = CS.PanelTypeEnum

--[[local function task(tid)
	local now = os.date("%H:%M:%S");
	print("定时任务执行了:" .. now)
end
local function canceltask(tid)
	print("定时任务执行被取消")
end
local tid = TimerUtil:AddTaskTimer(0, 1, task, 10, canceltask)--]]

-- PanelUtil:ShowPanelByEnum(PanelTypeEnum.TopLoading)

--[[local curr = 0
local function add(_)
	print(curr)
	curr = curr + 0.01
	PanelUtil:ShowLoadingPanel(curr)
end
TimerUtil:AddTaskTimer(1, 0.1, add, 100, nil)--]]
